//
//  Son.m
//  Common
//
//  Created by fangyuan ding on 2021/10/28.
//

#import "Son.h"

@implementation Son

- (id )init{
    self = [super init];
    if(self){
        NSLog(@"%@",NSStringFromClass([self class]));
        NSLog(@"%@",NSStringFromClass([super class]));
        BOOL res1 = [(id)[NSObject class] isKindOfClass:[NSObject class]];
        BOOL res2 = [(id)[NSObject class] isMemberOfClass:[NSObject class]];
        BOOL res3 = [(id)[Son class] isKindOfClass:[Son class]];
        BOOL res4 = [(id)[Son class] isMemberOfClass:[Son class]];
        
        NSLog(@"%d %d %d %d",res1,res2,res3,res4);
    }
    return self;
}
@end
